package com.iot.pojo;

import com.alibaba.fastjson.annotation.JSONField;

public class MTreeNode {

    public String id;
    public String name;
    public String pId;


    public MTreeNode() {
    }

    public MTreeNode(String id, String name, String pId) {
        this.id = id;
        this.name = name;
        this.pId = pId;

    }


    @JSONField(name = "id")
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @JSONField(name = "name")
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @JSONField(name = "pId")
    public String getpId() {
        return pId;
    }

    public void setpId(String pId) {
        this.pId = pId;
    }
}
